package cn.wolfcode.mapper;

import cn.wolfcode.domain.ActivityItem;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface ActivityItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActivityItem record);

    ActivityItem selectByPrimaryKey(Long id);

    List<ActivityItem> selectAll();

    int updateByPrimaryKey(ActivityItem record);



    List<ActivityItem> selectForList(QueryObject qo);

    List<ActivityItem> queryByActivityId(Long activityId);
}